<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
<h:head>
 <link rel="stylesheet" type="text/css" href="css/login.css" />
</h:head>
<h:body>
	<div>
		<div id="topo">
			<img id="logoMarca" src="img/LogoMarca.png" alt="" />
		</div>

		<h:form>
		<p:toolbar id="tb">
			
		    <f:facet name="left">
		       <p:commandButton style="	font-size:12px; margin-left:50px;" value="HOME"  icon="ui-icon-home" action="#{redirectBean.home}"/>
		       <p:commandButton style="	font-size:12px; margin-left:30px;" value="QUEM SOMOS"  icon="ui-icon-tag" action="#{redirectBean.home}"/> 
		       <p:commandButton  style=" font-size:12px; margin-left:30px;" value="DIVUGUE SEU NEGÓCIO"  icon="ui-icon-bookmark" action="#{redirectBean.cadastro}"/> 
		       <p:commandButton style="	font-size:12px; margin-left:30px;" value="LOGIN"  icon="ui-icon-key" action="#{redirectBean.login}"/> 
		       
		    </f:facet>
		    
		</p:toolbar>
	</h:form>
		<div id="formLogin">

			<h:form id="formLogin">
				<h:messages id="msg" errorStyle="font-size:14px; color:red; display: inline;" />
			E-amil
			<p:inputText  id="login" style="margin-left:20px;" type="text" value="#{anuncianteBean.anunciante.email}" size="25" required="true" requiredMessage="° E-mail obrigatorio " />
				<br />
			Senha
			<p:password id="senha" style="  margin-left:20px; margin-top: 10px;" value="#{anuncianteBean.anunciante.senha}" size="25" required="true" requiredMessage=" ° Senha obrigatoria" />
				<p style="font-size:14px; margin-left: -7px;"><a href="">Esqueci a senha</a></p>
				<p:commandButton  style="font-size:16px; " value="Entrar" action="#{anuncianteBean.autenticarLogin}" />
				<p:commandButton style="font-size:16px; " value="Voltar" action="home.xhtml" />
				
			</h:form>
		</div>
		


	</div>


	<div id="rodaPe">
		www.catalogodigital.com.br<br /> <a class="link"
			href="https://www.facebook.com/CatalogoDigitalBR">www.facebook.com/CatalogoDigitalBR</a>
	</div>

</h:body>
</html>